﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfUMLTry1.Model;
using WpfUMLTry1;

namespace WpfUMLTry1.View
{
    /// <summary>
    /// Interaction logic for DebugQA.xaml
    /// </summary>
    public partial class DebugQA : Page
    {
        public DebugQA()
        {
            InitializeComponent();
        }

        private void QFight_Click(object sender, RoutedEventArgs e)
        {
            PlayerCharacter player = new PlayerCharacter("Bela");
            AbstractCreature mob = new Monster("Wild Wolf");

            List<Int32> stats = new List<int>();
            for(int i = 0; i < 5; ++i)
                stats.Add(5);

            player.SetAllStat(stats);
            mob.SetAllStat(stats);


            Switcher.Switch(new Fight_page(), new ViewModel.Fight_VM(player, mob));
        }

        private void QQuest_Click_1(object sender, RoutedEventArgs e)
        {
            //Switcher.Switch(new QuestChooseTxt(), new ViewModel.QuestChooseTxt_VM());
        }
    }
}
